﻿using Common;
using DAL.Sys;
using Model.Sys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL.Sys
{
    public class SysUserBLL
    {
        private SysUserDAL dal = new SysUserDAL();
        public SysUserModel GetModel(string loginName)
        {
            return dal.GetModel(loginName);
        }
        public List<SysUserModel> GetList(string strWhere, string term)
        {
            return dal.GetList(strWhere, term);
        }
        public ResultEntity AddModel(SysUserModel model)
        {
            return dal.AddModel(model);
        }
        public ResultEntity Update(SysUserModel model)
        {
            return dal.Update(model);
        }
        public SysUserModel GetModelById(string id)
        {
            return dal.GetModelById(id);
        }

    }
}
